<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.9.0">
    

    

    



    <meta charset="utf-8">
    
    
    
    <title>标签: CountDownLatch | 奔跑的蜗牛 | 虚心若愚</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content>
    <meta property="og:type" content="website">
<meta property="og:title" content="奔跑的蜗牛">
<meta property="og:url" content="http://windynature.oschina.io/tags/CountDownLatch/index.html">
<meta property="og:site_name" content="奔跑的蜗牛">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="奔跑的蜗牛">
    
        <link rel="alternative" href="/atom.xml" title="奔跑的蜗牛" type="application/atom+xml">
    
    <link rel="shortcut icon" href="/blog/favicon.ico">
    <link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@1.5.2/css/style.css">
    <script>window.lazyScripts=[]</script>
</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu"  >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/blog/img/timg.jpg)">
      <div class="brand">
        <a href="/blog/" class="avatar waves-effect waves-circle waves-light">
          <img src="/blog/img/user2.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">windy</h5>
          <a href="mailto:windynature@163.com" title="windynature@163.com" class="mail">windynature@163.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/blog/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/blog/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                归档
              </a>
            </li>
        
            <li class="waves-block waves-effect active">
              <a href="/blog/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                标签
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/blog/categories"  >
                <i class="icon icon-lg icon-th-list"></i>
                分类
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/WindyNature" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://git.oschina.net/windynature" target="_blank" >
                <i class="icon icon-lg icon-mayun"></i>
                码云
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">标签: CountDownLatch</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header tags-header">

    <div class="container fade-scale">
        <h1 class="title">标签: CountDownLatch</h1>
        <h5 class="subtitle">
            
        </h5>
    </div>

     
<div class="tabs-bar container">
    <nav class="tags-list">
        <a href="/blog/tags" style="-webkit-order:-1;order:-1" class="tags-list-item waves-effect waves-button waves-light
            ">全部</a>
         

            <a href="/blog/tags/比例尺/" style="-webkit-order:4;order:4" class="tags-list-item waves-effect waves-button waves-light">比例尺</a>

         

            <a href="/blog/tags/分辨率/" style="-webkit-order:5;order:5" class="tags-list-item waves-effect waves-button waves-light">分辨率</a>

         

            <a href="/blog/tags/gis/" style="-webkit-order:6;order:6" class="tags-list-item waves-effect waves-button waves-light">gis</a>

         

            <a href="/blog/tags/切片/" style="-webkit-order:7;order:7" class="tags-list-item waves-effect waves-button waves-light">切片</a>

         

            <a href="/blog/tags/质心/" style="-webkit-order:8;order:8" class="tags-list-item waves-effect waves-button waves-light">质心</a>

         

            <a href="/blog/tags/STOMP协议/" style="-webkit-order:9;order:9" class="tags-list-item waves-effect waves-button waves-light">STOMP协议</a>

         

            <a href="/blog/tags/代理模式/" style="-webkit-order:10;order:10" class="tags-list-item waves-effect waves-button waves-light">代理模式</a>

         

            <a href="/blog/tags/设计模式/" style="-webkit-order:11;order:11" class="tags-list-item waves-effect waves-button waves-light">设计模式</a>

         

            <a href="/blog/tags/RabbitMQ/" style="-webkit-order:12;order:12" class="tags-list-item waves-effect waves-button waves-light">RabbitMQ</a>

         

            <a href="/blog/tags/动态代理/" style="-webkit-order:13;order:13" class="tags-list-item waves-effect waves-button waves-light">动态代理</a>

         

            <a href="/blog/tags/反射/" style="-webkit-order:14;order:14" class="tags-list-item waves-effect waves-button waves-light">反射</a>

         

            <a href="/blog/tags/类加载/" style="-webkit-order:15;order:15" class="tags-list-item waves-effect waves-button waves-light">类加载</a>

         

            <a href="/blog/tags/mapbox-gl-js/" style="-webkit-order:16;order:16" class="tags-list-item waves-effect waves-button waves-light">mapbox-gl-js</a>

         

            <a href="/blog/tags/openlayers/" style="-webkit-order:17;order:17" class="tags-list-item waves-effect waves-button waves-light">openlayers</a>

         

            <a href="/blog/tags/装饰模式/" style="-webkit-order:18;order:18" class="tags-list-item waves-effect waves-button waves-light">装饰模式</a>

         

            <a href="/blog/tags/mybatis/" style="-webkit-order:19;order:19" class="tags-list-item waves-effect waves-button waves-light">mybatis</a>

         

            <a href="/blog/tags/ORM/" style="-webkit-order:20;order:20" class="tags-list-item waves-effect waves-button waves-light">ORM</a>

         

            <a href="/blog/tags/SpringMVC/" style="-webkit-order:21;order:21" class="tags-list-item waves-effect waves-button waves-light">SpringMVC</a>

         

            <a href="/blog/tags/git/" style="-webkit-order:22;order:22" class="tags-list-item waves-effect waves-button waves-light">git</a>

         

            <a href="/blog/tags/Annotation/" style="-webkit-order:23;order:23" class="tags-list-item waves-effect waves-button waves-light">Annotation</a>

         

            <a href="/blog/tags/Callable/" style="-webkit-order:24;order:24" class="tags-list-item waves-effect waves-button waves-light">Callable</a>

         

            <a href="/blog/tags/Future/" style="-webkit-order:25;order:25" class="tags-list-item waves-effect waves-button waves-light">Future</a>

         

            <a href="/blog/tags/join/" style="-webkit-order:26;order:26" class="tags-list-item waves-effect waves-button waves-light">join</a>

         

            <a href="/blog/tags/yield/" style="-webkit-order:27;order:27" class="tags-list-item waves-effect waves-button waves-light">yield</a>

         

            <a href="/blog/tags/生命周期/" style="-webkit-order:28;order:28" class="tags-list-item waves-effect waves-button waves-light">生命周期</a>

         

            <a href="/blog/tags/泛型/" style="-webkit-order:0;order:0" class="tags-list-item waves-effect waves-button waves-light">泛型</a>

         

            <a href="/blog/tags/CountDownLatch/" style="-webkit-order:1;order:1" class="tags-list-item waves-effect waves-button waves-light active">CountDownLatch</a>

         

            <a href="/blog/tags/线程同步/" style="-webkit-order:2;order:2" class="tags-list-item waves-effect waves-button waves-light">线程同步</a>

         

            <a href="/blog/tags/Maven/" style="-webkit-order:3;order:3" class="tags-list-item waves-effect waves-button waves-light">Maven</a>

        
    </nav>
    <!-- PC show more-->
    <div class="tags-list-more">
        <a href="javascript:;" onclick="BLOG.tabBar(this)" class="action tags-list-item waves-effect waves-circle waves-light"><i class="icon icon-ellipsis-h"></i></a>
    </div>
</div>


</header>

<div class="container body-wrap fade">
    
            <div class="waterfall">
          

            <div class="waterfall-item">
  <article class="article-card archive-article">
    <div class="post-meta">
      <time class="post-time" title="2017年04月05日 21:40" datetime="2017-04-05T13:40:17.000Z"  itemprop="datePublished">Apr 5, 2017</time>

      
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/blog/categories/多线程/">多线程</a></li></ul>



    </div>
    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2017/04/05/java/多线程/CountDownLatch详解/">什么时候使用CountDownLatch</a>
    </h3>
  



    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/blog/tags/CountDownLatch/">CountDownLatch</a></li></ul>

    </div>
    
  </article>
</div>

        
            </div>
        
    
</div>


        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            <span>博客内容遵循 <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">知识共享 署名 - 非商业性 - 相同方式共享 4.0协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p>
            <span>Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a></span>
            <span>奔跑的蜗牛 &copy; 2015 - 2020</span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://windynature.oschina.io/tags/CountDownLatch/&title=奔跑的蜗牛&pic=http://windynature.oschina.io/img/user2.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://windynature.oschina.io/tags/CountDownLatch/&title=奔跑的蜗牛&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://windynature.oschina.io/tags/CountDownLatch/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=奔跑的蜗牛&url=http://windynature.oschina.io/tags/CountDownLatch/&via=http://windynature.oschina.io" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://windynature.oschina.io/tags/CountDownLatch/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/blog/', SHARE: true, REWARD: false };



</script>

<script src="//unpkg.com/hexo-theme-material-indigo@1.5.2/js/main.min.js"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="//unpkg.com/hexo-theme-material-indigo@1.5.2/js/search.min.js" async></script>






<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>





</body>
</html>
